package model;

/**
 * The PriceChangedEvent class is an Event that tells that a price has been changed.
 * 
 * @author hfi411pi
 *
 */
public class PriceChangedEvent implements Event {

	@Override
	public void accept(final EventVisitor eventVisitor) {
		eventVisitor.handlePriceChangedEvent(this);
	}

	/**
	 * Factory method for creating PriceChangedEvents.
	 * @return the created PriceChangedEvent.
	 */
	public static PriceChangedEvent create() {
		return new PriceChangedEvent();
	}
	
	/**
	 * Default constructor of PriceChangedEvent.
	 */
	private PriceChangedEvent(){
		
	}

}
